package com.chkj.fbook.common.dao;

import com.chkj.fbook.common.domain.FileDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 文件上传
 * @author hsh
 * @email 980027164@qq.com
 * @date 2023-10-2 15:45:42
 */
@Mapper
public interface FileDao {

	FileDO get(String id);
	
	List<FileDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(FileDO file);
	
	int update(FileDO file);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
